package com.minyifang.wcspf.work.ui.home.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class ClassBean implements Serializable {

    /**
     * id : 832a6c56657611e88990d4bed9ae62f6
     * name : 饮食
     * pid : 0
     * nodes : [{"id":"cc37131879d511e89792d4bed9ae62f6","name":"米","pid":"832a6c56657611e88990d4bed9ae62f6","nodes":[{"id":"b63659b37e9e11e89792d4bed9ae62f6","name":"大米","pid":"cc37131879d511e89792d4bed9ae62f6","nodes":[]},{"id":"11a50fd979a411e89792d4bed9ae62f6","name":"小米","pid":"cc37131879d511e89792d4bed9ae62f6","nodes":[]}]},{"id":"0","name":"降价","pid":null,"nodes":[]}]
     */

    public String id;
    public String name;
    public String pid;
    @SerializedName("nodes")
    public List<SubClassBean> subClassBeans;


    public static class SubClassBean implements Serializable {
        /**
         * id : cc37131879d511e89792d4bed9ae62f6
         * name : 米
         * pid : 832a6c56657611e88990d4bed9ae62f6
         * nodes : [{"id":"b63659b37e9e11e89792d4bed9ae62f6","name":"大米","pid":"cc37131879d511e89792d4bed9ae62f6","nodes":[]},{"id":"11a50fd979a411e89792d4bed9ae62f6","name":"小米","pid":"cc37131879d511e89792d4bed9ae62f6","nodes":[]}]
         */

        public String id;
        public String name;
        public String pid;
        @SerializedName("nodes")
        public List<FilterClassBean> filterClassBeans;


        public static class FilterClassBean implements Serializable {
            /**
             * id : b63659b37e9e11e89792d4bed9ae62f6
             * name : 大米
             * pid : cc37131879d511e89792d4bed9ae62f6
             * nodes : []
             */

            public String id;
            public String name;
            public String pid;
            public List<?> nodes;

        }
    }
}
